{template 'header'}
<script type="text/javascript">var sh = '{$MOD[linkurl]}search.php?catid={$catid}';</script>
 
<!--面包屑导航-->
<div class="wrap mb-10 mt-10 clearfix">
    <div class="cai_pos">当前位置: <a href="{$MODULE[1][linkurl]}">首页</a> &raquo; <a href="{$MOD[linkurl]}">{$MOD[name]}</a> &raquo; {cat_pos($CAT, ' &raquo; ')}<div class="fr">菜鸟部落为您共找到<strong class="red"> {$items} </strong>条<b class="red"> {$catname} </b>{$MOD[name]}信息</div>
    </div>
</div>

<div class="m">

<div class="category cldl mt-10">
            <dl>
                <dt class="f20">类 目</dt>
                <dd>
                  <ul id="mainCat" class="clearfix">
                 
                  {loop $maincat $k $v}
                <li {if $k>$MOD[page_subcat]} class="hide"{/if}><a {if $v[catid]==$catnow} class="active"{/if} href="{$MOD[linkurl]}{$v[linkurl]}">{$v[catname]}</a></li>
                {/loop}
            </ul>
            {if $k > $MOD[page_subcat]}<a href="JavaScript:" class="category-showmorebtn"><em>展开</em></a>{/if}  
                </dd>
            </dl>
            <dl>
                <dt class="f20">地 区</dt>
                <dd>
                     <ul id="mainCat" class="clearfix">
                  {php $mainarea = get_mainarea(0)}
                    {loop $mainarea $k $v}
                  <li {if $k>$MOD[page_subcat]} class="hide"{/if}> <a class="diqu"  href="{$MOD[linkurl]}search.php?areaid={$v[areaid]}&catid={$catid}" rel="nofollow">{$v[areaname]}</a></li>
                  
                    
                    {/loop}
             		</ul>
                {if $k > $MOD[page_subcat]}<a href="JavaScript:" class="category-showmorebtn"><em>展开</em></a>{/if}    
                </dd>
            </dl>
        </div>
<!--搜索条件-->
<div class="tool mt-10">
            <form action="{$MOD[linkurl]}search.php" id="fsearch">
                <div class="sort-inner clearfix">
                    <div class="styles fr">
                        <a class="style_0" href="javascript:;" onclick="Go(sh+'&list=1');">列表</a>
                        <a class="style_1 hover" href="javascript:;" onclick="Go(sh+'&list=0');">大图</a>
                    </div>
                    <div class="sort fl">
                        <input type="hidden" name="order" value="" id="order">
                        <ul class="clearfix">
                            <li class="first"> <a href="javascript:;" onclick="Dd('order').value='0';Dd('fsearch').submit();" title="综合排序" class="link active">综合排序</a> </li>
                             {loop $TYPE $k $v}
		<li><a href="javascript:Go('{$MOD[linkurl]}{rewrite('search.php?typeid='.$k.'&catid='.$catid)}');" title="{$v}" class="link">{$v}</a></li>
		{/loop}
                            <li class="droplist hoverSelf"><a class="link" title="价格从低到高">价格<span class="icon"></span> </a>
                                <ul>
                                    <li><a href="javascript:;" onclick="Dd('order').value='3';Dd('fsearch').submit();">价格从低到高</a> </li>
                                    <li><a href="javascript:;" onclick="Dd('order').value='2';Dd('fsearch').submit();">价格从高到低</a> </li>
                                </ul>
                            </li>
                        </ul>
                    </div>
                    <div class="prices hoverSelf fl">
                        <div class="inner">
                            <ul class="clearfix">
                                <li class="item">
                                    <input class="input" type="text" name="minprice" value="" placeholder="¥">
                                </li>
                                <li class="sep">-</li>
                                <li class="item">
                                    <input class="input" type="text" name="maxprice" value="" placeholder="¥">
                                </li>
                                <li class="submit"><span class="btn" onclick="Dd('fsearch').submit();">确定</span></li>
                            </ul>
                        </div>
                    </div>
                </div>
            </form>
        </div>

<div class="m_l  mt-10 f_l">
	  
        <div class="container mt-5 fl">
            <div class="sellWindow">
            {if $page == 1}{ad($moduleid,$catid,$kw,6)}{/if}
            {if $tags}{template 'cainiao-buylist', 'tag'}{/if}
            </div>
            <div class="box01 top-reconmmend">
                <div class="header"> <a class="more" target="_blank" href="{$MODULE[2][linkurl]}{$DT[file_login]}"> 我也要出现在这里</a>
                    <h3>热门推荐</h3>
                </div>
<!--{tag("moduleid=6&length=20&condition=status=3 and thumb<>''&pagesize=5&order=edittime desc&width=160&height=160&cols=8&template=cainiao-sell-hot")}--> 
            </div>
        </div>

	 
</div>
	<div class="m_r fr">
		<div class="jianjie box01 mt-10">
			<div class="sponsor">{ad($moduleid,$catid,$kw,7)}</div>
            
               <div class="header"><h3 class="f20">本周搜索排行</h3></div>
            <div class="mr10">
                <div class="rank_list">
                    <!--{tag("moduleid=$moduleid&table=keyword&condition=moduleid=$moduleid and status=3 and updatetime>$today_endtime-86400*7&pagesize=10&order=week_search desc&key=week_search&template=list-search_rank")}-->
                </div>		
            </div>
           </div>

<!--商品简介开始-->
            <div class="jianjie box01 mt-10">
                <div class="header"><h3 class="f20">家装小贴士</h3></div>
				
                     <div class="know_sch">
				<form action="{$MODULE[2][linkurl]}{$DT[file_my]}" id="ask_form">
				<input type="hidden" name="mid" value="10"/>
				<input type="hidden" name="cid" value="{$catid}"/>
				<input type="hidden" name="action" value="add"/>
				<input type="hidden" name="kw" value="" id="ask_kw"/>
				</form>
				<form action="{$MODULE[10][linkurl]}search.php" onsubmit="return know_sch_check();">
				<input type="hidden" name="typeid" value="99" id="know_typeid"/>
				<input type="text" name="kw" id="know_kw" value="请输入问题" class="know_sch_inp" onfocus="if(this.value=='请输入问题')this.value='';"/>
				<div class="know_sch_btn">
				<input type="submit" class="konw_btn" value="搜索答案" onclick="Dd('know_typeid').value=99;"/>&nbsp;
				<input type="submit" class="konw_btn" value="我要回答" onclick="Dd('know_typeid').value=3;"/>&nbsp;
				<input type="button" class="konw_btn" value="我要提问" onclick="if(know_sch_check()){Dd('ask_kw').value=Dd('know_kw').value;Dd('ask_form').submit();}"/>&nbsp;
				</div>
				</form>
				<script type="text/javascript">
					function know_sch_check() {
						if(Dd('know_kw').value == '请输入问题' || Dd('know_kw').value.length < 1) {
							alert('请输入问题');
							Dd('know_kw').focus();
							return false;
						}
						return true;
					}
				</script>
				
			</div>          
               
            </div>
<!--商品简介结束-->
<!--广告推荐开始-->
            <div class="mt-15">
            <a href="#" target="_blank"><img src="{DT_SKIN}caiimg/zhaos1.jpg" alt="招商" width="240" height="240"/></a></div>
<!--广告推荐结束-->
	
	
	</div>
</div>
{template 'footer'}